package cn.enilu.flash.service.shop;

import cn.enilu.flash.bean.entity.shop.LabelGoods;
import cn.enilu.flash.dao.shop.LabelGoodsRepository;
import cn.enilu.flash.service.BaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Sort;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LabelGoodsService  extends BaseService<LabelGoods,Long, LabelGoodsRepository> {
   @Autowired
   private LabelGoodsRepository labelGoodsRepository;

    public List<LabelGoods> findByLabelId(Long labelId){
        return labelGoodsRepository.findByLabelId(labelId);
    }
}
